<?php
class BaseAction extends Action {
	
	public function _initialize() {
 if(empty($_SESSION['nick'])){
      
      $this->redirect('Public/login');
     
    }
    }
    }
